package com.csy.property.community.service;

import com.csy.property.community.domain.AjCommunity;
import com.csy.property.community.domain.dto.AjCommunityDto;
import com.csy.property.community.domain.vo.AjCommunityVo;

import java.util.List;

/**
 * @Auther: sunxx
 * @Date: 2023/12/31 - 12 - 31 - 17:45
 * @Description: com.sxx.ajcommunity.community.service
 * @version: 1.0
 */
public interface AjCommunityService {

    /*
    * 根据条件查询小区信息列表
    * */
    List<AjCommunityDto> queryList(AjCommunity ajCommunity);

    /***
     * 新增小区信息
     */
    int insertAjCommunity(AjCommunity ajCommunity);

    /*
    * 根据Id获取小区详情
    * */
    AjCommunity selectAjCommunityById(Long communityId);

    /*
    * 修改小区
    * */
    int updateAjCommunity(AjCommunity ajCommunity);

    /*
    * 删除操作
    * */
    int deleteAjCommunity(Long[] communityIds);

    /*
    * 获取小区下拉列表
    * */
    List<AjCommunityVo> queryPullDown(AjCommunity ajCommunity);
}
